<%@page pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="../admin_head.jsp">
	<jsp:param value="用户信息" name="title" />
</jsp:include>
</head>
<body>
	<div class="container-fluid">
		<div class="row" >
			<div class="col-md-2"></div>
			<div class="col-md-8">
			<div class="panel panel-success" align="center">
				<div class="panel-heading">
				<h1>课堂教学质量评价系统</h1><br/>当前用户:${user.nickName }&nbsp;&nbsp;&nbsp;
						当前用户角色：${user.userRole }
				&nbsp;&nbsp;&nbsp;&nbsp;<a href="userlist.action?userId=${user.id }"><button class="btn btn-sm btn-success">首页</button></a>
						<a href="${pageContext.request.contextPath }/user/user.action"> <button class="btn btn-sm btn-danger" > <B> 退出登录 </B> </button> </a></div>
				</div>
			
			<jsp:include page="../user/admin_nav.jsp">
					<jsp:param value="用户界面" name="title" />
				</jsp:include>
				<div class="panel panel-success">
				<div class="panel panel-primary" style="margin-top:15px;margin-left: 300px;width:900px">
					<div class="panel-heading">
						<h3 class="panel-title">用户列表</h3>
					</div>
					<div class="panel-body">
						<table class="table table-hover table-bordered" style="margin-top: 20px">
							<thead>
								<tr align="center" style="font-weight: bold">
									<td>序号</td>
									<td>课程名称</td>
									<td>我的评价分数</td>
									<td>评价备注</td>
									<td>评价时间</td>
								</tr>
							</thead>
							<tbody>
								<c:if test="${classEvaluationList ne null}">
									<c:forEach items="${classEvaluationList}" var="evainfo" varStatus="vs">
										<tr align="center">
											<td>${vs.count }</td>
											<td>${evainfo.className }</td>
											<td>${evainfo.score }</td>
											<td>${evainfo.remark }</td>
											<td>${evainfo.strTime }</td>
										</tr>
									</c:forEach>
								</c:if>
							</tbody>
						</table>
						<button class="btn btn-success" onClick="javascript :history.back(-1);">返回</button>
					</div>
					</div>
				</div>
			</div>
			<div class="col-md-2"></div>
		</div>
	</div>
</body>
</html>
